Xbasic

*IBOF Function

Syntax

Result_Flag as L = *IBOF([C tablename])

Arguments

tablename

A non-null character string. Table_Name must be fully qualified if it is not the primary table for the associated form.

Description

Returns TRUE if the record pointer is at the beginning of the file with respect to the current index.

Discussion

*IBOF() returns True (.T.) if the current record is also the first record of the current index; otherwise returns False (.F.) if the current record is not the first record of the current index.

Example

Create a calculated value for a form. Set the value of the calculated value to *ibof(). It will display .T. (TRUE) when you are display the first record of an index and .F. (FALSE) when displaying all other records.

Limitations

Applies to Alpha Anywhere tables only.

See Also